﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CommendList.aspx.cs" Inherits="BalanceCenter_CommendList" %>

<%@ Register TagPrefix="ShoveWebUI" Namespace="Shove.Web.UI" Assembly="Shove.Web.UI.4 For.NET 2.0" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>我的团队</title>
    <link href="../Style/css.css" rel="stylesheet" type="text/css" />
    <link href="../Style/main.css" rel="stylesheet" type="text/css" />
</head>
<body style="margin-left: 0; margin-top: 0; margin-right: 0; margin-bottom: 0;">
    <form id="form1" runat="server">
    <font face="宋体">
        <table id="Table1" cellspacing="0" cellpadding="0" width="99%" border="0" align="center">
            <tr>
                <td style="height: 30px; text-align: center">
                    <span style="font-size: 12pt; color: #3399cc"><strong>我团队的会员列表</strong></span>
                </td>
            </tr>
            <tr>
                <td colspan="3">
                    <table>
                        <tr>
                            <td align="right" style="height: 25px;" width="60px">
                                会员搜索：
                            </td>
                            <td align="left" valign="top" style="height: 25px; width: 360px;">
                                <asp:TextBox ID="tbSerch" runat="server" MaxLength="20"></asp:TextBox>
                                <asp:Button ID="btnSerch" runat="server" Text=" 查找 " OnClick="btnSerch_Click" />
                                <asp:Button ID="btnSerchAll" runat="server" OnClick="btnSerchAll_Click" Text="查找所有" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:DataGrid ID="g" runat="server" BackColor="#6CA4E4" CellPadding="5" Width="100%"
                        CellSpacing="1" BorderWidth="0px" AllowSorting="True" AutoGenerateColumns="False"
                        AllowPaging="True" CssClass="gStyle" OnItemDataBound="g_ItemDataBound">
                        <FooterStyle HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC"></FooterStyle>
                        <SelectedItemStyle HorizontalAlign="Center" Font-Bold="True" ForeColor="White"></SelectedItemStyle>
                        <HeaderStyle HorizontalAlign="Center" ForeColor="Navy" VerticalAlign="Middle" CssClass="gHeader">
                        </HeaderStyle>
                        <ItemStyle CssClass="gItem" BackColor="White" />
                        <Columns>
                            <asp:BoundColumn DataField="CustomerNo" SortExpression="CustomerNo" HeaderText="用户名">
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="CustomerName" SortExpression="CustomerName" HeaderText="真实姓名">
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="Sex" SortExpression="Sex" HeaderText="性别"></asp:BoundColumn>
                            <asp:BoundColumn DataField="CertNo" SortExpression="CertNo" HeaderText="身份证"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Address" SortExpression="Address" HeaderText="地址"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Email" SortExpression="Email" HeaderText="邮箱"></asp:BoundColumn>
                            <asp:BoundColumn DataField="QQ" SortExpression="QQ" HeaderText="QQ"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Tel" SortExpression="Tel" HeaderText="电话"></asp:BoundColumn>
                            <asp:BoundColumn DataField="Mobile" SortExpression="Mobile" HeaderText="手机"></asp:BoundColumn>
                            <asp:BoundColumn DataField="RegisterDate" SortExpression="RegisterDate" HeaderText="注册时间">
                            </asp:BoundColumn>
                            <asp:BoundColumn DataField="CustomerTypeName" SortExpression="CustomerTypeName" HeaderText="会员类型">
                            </asp:BoundColumn>
                            <asp:TemplateColumn HeaderText="操作" SortExpression="" Visible="false">
                                <ItemTemplate>
                                    <ShoveWebUI:ShoveConfirmButton runat="server" ID="btnDel" Text="删除" AlertText="确定要删除该用户吗？"
                                        CommandName="Del" Visible="false" />
                                </ItemTemplate>
                            </asp:TemplateColumn>
                            <asp:BoundColumn Visible="False" DataField="id"></asp:BoundColumn>
                            <asp:BoundColumn Visible="False" DataField="isActivation"></asp:BoundColumn>
                            <asp:BoundColumn Visible="False" DataField="CommendID"></asp:BoundColumn>
                        </Columns>
                        <PagerStyle Visible="False" HorizontalAlign="Center" ForeColor="#330099" BackColor="#FFFFCC">
                        </PagerStyle>
                    </asp:DataGrid>
                    <ShoveWebUI:ShoveGridPager ID="gPager" BorderWidth="0" CssClass="gStyle" BorderStyle="None"
                        runat="server" Width="100%" ShowSelectColumn="False" DataGrid="g" OnPageWillChange="gPager_PageWillChange"
                        OnSortBefore="gPager_SortBefore" AlternatingRowColor="White" HotColor="White"
                        GuiseColor="False" ClientNavigation="true" PageSize="10" />
                    <br />
                </td>
            </tr>
        </table>
    </font>
    </form>
</body>
</html>
